Open
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a new test-fixer agent and supporting rules to automate test suite maintenance, alongside several new test cases for domain entities and services. Feedback primarily addresses the use of hardcoded absolute file paths and user-specific directories in the agent configuration and local settings, suggesting the use of relative paths and general command aliases to ensure environment portability.
|
|
||
| - Production code: `PushAndPull/` | ||
| - Test code: `PushAndPull.Test/` | ||
| - Working directory: `/mnt/c/Users/USER/Documents/GitHub/Push-Pull-server/PushAndPull` |
| ## Step 2: Run Build and Tests | ||
|
|
||
| ```bash | ||
| cd /mnt/c/Users/USER/Documents/GitHub/Push-Pull-server/PushAndPull && dotnet build --no-restore 2>&1 |
| ``` | ||
|
|
||
| ```bash | ||
| cd /mnt/c/Users/USER/Documents/GitHub/Push-Pull-server/PushAndPull && dotnet test --no-build 2>&1 |
| After all changes, run the full test suite: | ||
|
|
||
| ```bash | ||
| cd /mnt/c/Users/USER/Documents/GitHub/Push-Pull-server/PushAndPull && dotnet build --no-restore 2>&1 && dotnet test --no-build 2>&1 |
Comment on lines
+37
to
+38
| "Bash(/home/seanyee1227/.dotnet/dotnet build:*)", | ||
| "Bash(/home/seanyee1227/.dotnet/dotnet test:*)" | ||
| "Bash(/home/seanyee1227/.dotnet/dotnet test:*)", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📚작업 내용
test-fixer서브에이전트 정의 파일 추가 (.claude/agents/test-fixer.md)ask-user규칙 파일 추가 — AskUserQuestion 사용 시점 명시 (.claude/rules/ask-user.md)test-fixer-trigger규칙 파일 추가 — 프로덕션 코드 변경 후 test-fixer 자동 제안 조건 정의 (.claude/rules/test-fixer-trigger.md)UserTests(null 닉네임 예외),RoomTests(MaxPlayers·ExpiresAt 초기값),LoginServiceTests(패밀리 쉐어링 차단),GetRoomServiceTests(null roomCode 케이스),JoinRoomServiceTests(올바른 비밀번호로 입장)test-fixer 에이전트는 프로덕션
.cs파일 변경 완료 후 AskUserQuestion으로 실행 여부를 묻고, 승인 시 테스트를 자동 추가·수정·삭제합니다.✅체크리스트